

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>The web module &mdash; pyamp v1.2 documentation</title>
    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '1.2',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="top" title="pyamp v1.2 documentation" href="../index.html" />
    <link rel="up" title="The pyamp module" href="mod_pyamp.html" />
    <link rel="next" title="The html module" href="mod_pyamp_web_html.html" />
    <link rel="prev" title="The userInput module" href="pyamp_ui_input_userInput.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="mod_pyamp_web_html.html" title="The html module"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="pyamp_ui_input_userInput.html" title="The userInput module"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">pyamp v1.2 documentation</a> &raquo;</li>
          <li><a href="mod_pyamp.html" accesskey="U">The pyamp module</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="the-web-module">
<h1>The web module<a class="headerlink" href="#the-web-module" title="Permalink to this headline">¶</a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="mod_pyamp_web_html.html">The html module</a><ul>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_html_baseElement.html">The baseElement module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-body-class">The Body class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-closetagtype-class">The CloseTagType class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-head-class">The Head class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-htmlfivedoctype-class">The HtmlFiveDoctype class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-script-class">The Script class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-text-class">The Text class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-image-class">The Image class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-title-class">The Title class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-html-class">The Html class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-link-class">The Link class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-basehtmlelement-class">The BaseHtmlElement class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-div-class">The Div class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-anchor-class">The Anchor class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_baseElement.html#the-csslink-class">The CssLink class</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_html_htmlPage.html">The htmlPage module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_htmlPage.html#the-body-class">The Body class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_htmlPage.html#the-htmlfivedoctype-class">The HtmlFiveDoctype class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_htmlPage.html#the-head-class">The Head class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_htmlPage.html#the-script-class">The Script class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_htmlPage.html#the-title-class">The Title class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_htmlPage.html#the-html-class">The Html class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_htmlPage.html#the-htmlpage-class">The HtmlPage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_html_htmlPage.html#the-csslink-class">The CssLink class</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="mod_pyamp_web_http.html">The http module</a><ul>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_http_errorPages.html">The errorPages module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_errorPages.html#the-keys-class">The Keys class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_errorPages.html#the-htmlpage-class">The HtmlPage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_errorPages.html#the-notfoundpage-class">The NotFoundPage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_errorPages.html#the-internalservererrorpage-class">The InternalServerErrorPage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_errorPages.html#the-statuscodes-class">The StatusCodes class</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_http_server.html">The server module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_server.html#the-argument-class">The Argument class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_server.html#the-httpserverthread-class">The HttpServerThread class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_server.html#the-httpserver-class">The HttpServer class</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_http_requests.html">The requests module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_requests.html#the-statuscodes-class">The StatusCodes class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_requests.html#the-keys-class">The Keys class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_requests.html#the-notfoundpage-class">The NotFoundPage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_requests.html#the-stoppablerequesthandler-class">The StoppableRequestHandler class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_requests.html#the-internalservererrorpage-class">The InternalServerErrorPage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_requests.html#the-header-class">The Header class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_requests.html#the-baserequesthandler-class">The BaseRequestHandler class</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_http_headers.html">The headers module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_headers.html#the-header-class">The Header class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_headers.html#the-contenttypes-class">The ContentTypes class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_headers.html#the-os-class">The OS class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_headers.html#the-headerids-class">The HeaderIds class</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_http_page.html">The page module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_page.html#the-jsonpage-class">The JsonPage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_page.html#the-argument-class">The Argument class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_page.html#the-header-class">The Header class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_page.html#the-filepage-class">The FilePage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_page.html#the-directoryfilespage-class">The DirectoryFilesPage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_page.html#the-basepage-class">The BasePage class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_page.html#the-htmlpage-class">The HtmlPage class</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_http_constants.html">The constants module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_constants.html#the-keys-class">The Keys class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_constants.html#the-contenttypes-class">The ContentTypes class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_constants.html#the-statuscodes-class">The StatusCodes class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_constants.html#the-headerids-class">The HeaderIds class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_constants.html#the-operatingsystems-class">The OperatingSystems class</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_http_argument.html">The argument module</a><ul>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_argument.html#the-boolargument-class">The BoolArgument class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_argument.html#the-floatargument-class">The FloatArgument class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_argument.html#the-strargument-class">The StrArgument class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_argument.html#the-argument-class">The Argument class</a></li>
<li class="toctree-l3"><a class="reference internal" href="pyamp_web_http_argument.html#the-intargument-class">The IntArgument class</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="pyamp_web_hacking.html">The hacking module</a><ul>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_hacking.html#the-urlrequest-class">The UrlRequest class</a></li>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_hacking.html#the-hacking-class">The Hacking class</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="pyamp_web_web.html">The web module</a><ul>
<li class="toctree-l2"><a class="reference internal" href="pyamp_web_web.html#the-urlrequest-class">The UrlRequest class</a></li>
</ul>
</li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h4>Previous topic</h4>
  <p class="topless"><a href="pyamp_ui_input_userInput.html"
                        title="previous chapter">The userInput module</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="mod_pyamp_web_html.html"
                        title="next chapter">The html module</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/_generated/mod_pyamp_web.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="mod_pyamp_web_html.html" title="The html module"
             >next</a> |</li>
        <li class="right" >
          <a href="pyamp_ui_input_userInput.html" title="The userInput module"
             >previous</a> |</li>
        <li><a href="../index.html">pyamp v1.2 documentation</a> &raquo;</li>
          <li><a href="mod_pyamp.html" >The pyamp module</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012, Brett Ponsler.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.1.
    </div>
  </body>
</html>